//
//  YANormalStatusCell.swift
//  KeepCliming
//
//  Created by 鱼龙之梦 on 15/9/8.
//  Copyright © 2015年 panyanzhi. All rights reserved.
//

import UIKit

class YANormalStatusCell: YAStatusCell {
    override func setupUI() {
        super.setupUI()
        let cons = pictureView.ff_AlignVertical(type: ff_AlignType.BottomLeft, referView: contentLabel,
            size: CGSize(width: 290, height: 290), offset: CGPoint(x:0,y:YAStatusCellMargin))
        
        //创建Cell的时候就设置，赋值赋值VM的时候，被重置
        picHeightCons = pictureView.ff_Constraint(cons, attribute: NSLayoutAttribute.Height)
        picWidthCons = pictureView.ff_Constraint(cons, attribute: NSLayoutAttribute.Width)
        picTopCons = pictureView.ff_Constraint(cons, attribute: NSLayoutAttribute.Top)

    }
}
